package com.newlink.building.login.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.newlink.building.login.R
import com.newlink.building.login.bean.UserCategoryInfo

/**
 * Created by xiaodong on 2023/12/29.
 */
class Module_Login_UserCategoryAdapter(data: MutableList<UserCategoryInfo>) :
    BaseQuickAdapter<UserCategoryInfo, BaseViewHolder>(R.layout.item_account_pick, data) {

    init {
        addChildClickViewIds(R.id.container_account_pick)
    }

    override fun convert(holder: BaseViewHolder, item: UserCategoryInfo) {
        holder.setText(R.id.tv_account, item.username)
    }
}